package com.walker.taogong.dal.hibernate;

import org.osgi.service.component.ComponentContext;

public class BaseDal
{
    /**
     * 组件启动初期化，用于启动Hibernate Session factory provider
     */
    protected void activate(ComponentContext cc) 
    {
          // 启动HibernateInitializer服务
          cc.locateService("HibernateInitializer");     
    }

}
